package com.tankgame;

/**
 * @author 周超
 * @version 1.0
 * 一个Node 对象，表示一个未被击中的敌人坦克的信息
 */
public class Node
{
    private int x;
    private int y;
    private int direct;

    public Node(int x, int y, int direct)
    {
        this.x = x;
        this.y = y;
        this.direct = direct;
    }

    public int getX()
    {
        return x;
    }

    public void setX(int x)
    {
        this.x = x;
    }

    public int getY()
    {
        return y;
    }

    public void setY(int y)
    {
        this.y = y;
    }

    public int getDirect()
    {
        return direct;
    }

    public void setDirect(int direct)
    {
        this.direct = direct;
    }

}
